package com.microboom.bean.command;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@NoArgsConstructor
@Data
public class RegisterCommand {

	@NotEmpty
	@Length(min = 3, max = 10)
	private String username;

	@NotEmpty
	@Length(min = 3, max = 10)
	private String password;

}
